package com.oj.judge.enums;

/**
 * @Classname JudgeResultMessageEnum
 * @Description TODO
 * @Date 2025/3/17 23:27
 * @Created by xxx
 */
public enum JudgeResultMessageEnum {
    PENDING("Pending"),
    Accepted("AC"),
    WrongAnswer("WA"),
    TimeLimitExceeded("TLE"),
    MemoryLimitExceeded("MLE"),
    RuntimeError("RE"),
    CompileError("CE"),
    SystemError("SE");

    private final String value; // 枚举值对应的属性

    // 枚举构造函数
    JudgeResultMessageEnum(String value) {
        this.value = value;
    }

    // 获取枚举值对应的属性
    public String getValue() {
        return value;
    }
}
